Event.subscribe("GroupMessageEvent",function(event)
	local msg = tostring(event.message)
	local sender = event.sender
	local group = event.group
	if msg:find("一言") then
		url = "https://v1.hitokoto.cn/"
		body = Http.get(url)
		rep = body:match('"hitokoto":"(.-)"')
		group:sendMessage(rep)
	end
end)